package com.kgc.itrip.dao.mapper;

import com.kgc.itrip.beans.model.ItripHotelRoom;
import com.kgc.itrip.beans.vo.hotelroom.ItripHotelRoomVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ItripHotelRoomMapper {

    public ItripHotelRoom getItripHotelRoomById(@Param(value = "id") Long id) throws Exception;

    public List<ItripHotelRoomVO> getItripHotelRoomListByMap(Map<String, Object> param) throws Exception;

    public Integer getItripHotelRoomCountByMap(Map<String, Object> param) throws Exception;

    public Integer insertItripHotelRoom(ItripHotelRoom itripHotelRoom) throws Exception;

    public Integer updateItripHotelRoom(ItripHotelRoom itripHotelRoom) throws Exception;

    public Integer deleteItripHotelRoomById(@Param(value = "id") Long id) throws Exception;

}
